<div class="sidebar">

    <div class="section">
        <ul>
            <div class="title">
                <i class="admin"></i>
                <span>管理</span>
            </div>
            <?php if(session('is_admin') == 1 || session('is_type') == 1 ) { ?>
            <li <?php if($active=="账户管理"){ echo "class='active'"; }?>><a href="{:U('Reporter/index') }">账户管理</a></li>
            <?php } ?>
            <?php if(session('is_admin') == 1) { ?>
            <li <?php if($active=="组织架构"){ echo "class='active'"; }?>><a href="{:U('Department/index')}">组织架构</a></li>
            <!-- <li><a href="{:U('Base/building')}"  <?php if($active=="审核流程"){ echo "class='active'"; }?>>审核流程</a></li> -->
            <?php } ?>
        </ul>
    </div>

    <div class="section">
         <ul>
    <div class="title">
        <i class="paper"></i>
        <span>文稿</span>
    </div>
    <li <?php if($active=="文稿管理"){ echo "class='active'"; }?>><a href="{:U('Article/index')}">文稿管理</a></li>
</ul>
    </div>
    <div class="section">
        <ul>
            <div class="title">
                <i class="live"></i>
                <span>直播</span>
            </div>
            <li <?php if($active=="直播管理"){ echo "class='active'"; }?>><a href="{:U('Live/index')}">直播管理</a></li>
            <?php if(session('is_admin') == 1 || session('is_type') == 1 ) { ?>
            <li <?php if($active=="专题管理"){ echo "class='active'"; }?>><a href="{:U('Special/index')}">专题管理</a></li>
            <?php } ?>
        </ul>
    </div>
</div>